package com.jiuzhe.commercial.ui.my;

import android.os.Bundle;
import android.widget.TextView;

import com.blankj.utilcode.utils.AppUtils;
import com.jiuzhe.commercial.R;
import com.jiuzhe.commercial.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by huanghao on 2018/5/25.
 */

public class AboutUserActivity extends BaseActivity {
    @BindView(R.id.tv_version)
    TextView tvVersion;

    @Override
    protected void loadViewLayout() {
        setContentView(R.layout.activity_about_user);
        setTitle("版本号");
    }

    @Override
    protected void loadData() {
        tvVersion.setText("版本号 v "+ AppUtils.getAppVersionName(this));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
